projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cf3b66
)
(Fformat_mode_line): Do nothing when noninteractive.
author
Jason Rumney
<jasonr@gnu.org>
Tue, 30 Oct 2007 22:48:26 +0000
(22:48 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Tue, 30 Oct 2007 22:48:26 +0000
(22:48 +0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 92c0af8c5ed1bf495d798e2118af6d65f6fd6c81..9e3a3bade1f55a2b906845a49b2f5c594094d1b8 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-17368,7
+17368,9
@@
are the selected window and the window's buffer). */)
buffer = w->buffer;
CHECK_BUFFER (buffer);
- if (NILP (format))
+ /* Make formatting the modeline a non-op when noninteractive, otherwise
+ there will be problems later caused by a partially initialized frame. */
+ if (NILP (format) || noninteractive)
return build_string ("");
if (no_props)